package type2;

/**
 * @projectName: com.xiayuanxing.designPattern
 * @className: ReviewState
 * @author: xiayuanxing
 * @description: TODO
 * @date: 2022/2/11 9:57
 * @version: 1.0
 */
public class ReviewState extends AbstractState{

    @Override
    public void makePriceEvent(Context context) {
        context.setState(new PublishState());
    }

    @Override
    public String getCurrentState() {
        return StateEnum.REVIEWED.getValue();
    }
}
